/* 工作动态页面特定样式 */

/* 首页内容区域 */
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    background-image: url("../assets/bg-top-red.png"), url("../assets/bg-bottom-red.png");
    background-position: left top, right bottom;
    /* 分别控制位置 */
    background-repeat: no-repeat, repeat-x;
    /* 分别控制重复方式 */
    background-size: auto, auto;
}

.content-wrapper {
    width: 68%;
    margin-top: 30px;
    margin-bottom: 20px;
    display: flex;
}

/* 左侧树形菜单 */
.tree-container {
    width: 250px;
    background-color: #fff;
    padding: 0px;
}

.tree-menu {
    width: 250px;
    list-style: none;
}

.tree-item {
    padding: 10px;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #555555;
    transition: all 0.3s;
    background-color: #F1F1F1;
}

.tree-item:hover {
    color: #BD1A2D;
}

.tree-item.selected {
    color: #BD1A2D;
}

.tree-text {
    flex-grow: 1;
}

/* 右侧列表区域 */
.list-container {
    flex-grow: 1;
    padding: 20px;
    padding-top: 10px;
    margin-left: 20px;
    background-color: #fff;
}

.list-header h2 {
    margin-bottom: 20px;
    color: #333;
}

#current-menu {
    height: 32px;
    border-bottom: 1px solid #F1F1F1;
}

#current-menu .title {
    width: fit-content;
    height: 30px;
    line-height: 30px;
}

#current-menu .title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background-color: #BD1A2D;
}

/* 检索框样式 */
.search-container {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#search-type {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#search-input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

#search-btn {
    padding: 8px 20px;
    background-color: #BD1A2D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#search-btn:hover {
    background-color: #cc0000;
}



/* 列表内容样式 */
.list-content {
    margin-top: 10px;
}

/* 工作动态列表 */
.dynamic-list {
    list-style: none;
    padding: 0;
}

.dynamic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.pagination button {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    color: #7D442E;
    transition: background-color 0.3s;
}

.pagination .page-item {
    display: inline-flex;
    width: 32px;
    height: 32px;
    line-height: 32px;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 5px;
    border: 1px solid #D9D9D9;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    margin-right: 8px;
    transition: background-color 0.3s;
}

.pagination .page-item:hover {
    background-color: #fff;
    color:#D61618;
    border-color:#D61618;
}

.pagination-select {
    width: 70px;
}

.pagination .slide {
    display: inline-flex;
    width: 32px;
    height: 32px;
    line-height: 32px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.pagination button:hover {
    background-color: #fff;
    color:#D61618;
    border-color:#D61618;
}

.pagination button:disabled {
    background-color: #f9f9f9;
    cursor: not-allowed;
}

.custom-select {
    position: relative;
    display: inline-block;
}

.custom-select select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.custom-select .arrow {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    pointer-events: none;
}

#page-info {
    font-weight: bold;
}

#page-input {
    width: 80px;
    padding: 7px;
    border: 1px solid #ddd;
    text-align: center;
    border-radius: 5px;
}

#page-size {
    width: 70px;
    height: 32px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.dynamic-item:last-child {
    border-bottom: none;
}

.dynamic-item .title {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    flex-grow: 1;
    margin-right: 20px;
}

.dynamic-item .title:hover {
    color: #BD1A2D;
}

.dynamic-item .date {
    font-size: 14px;
    color: #999;
    min-width: 80px;
    text-align: right;
}



/* 轮播图箭头样式 */
.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    z-index: 99;
}

.arrow {
    color: #D61618;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    pointer-events: all;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;

}

.arrow:hover {}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* 编研成果和志鉴案例 */
.research-cases {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../assets/bg-bottom.png');
    margin-bottom: 30px;
    width: 100%;
    height: 550px;
    padding: 50px;
    position: relative;
}

.research-cases .section-title {
    margin-bottom: 20px;
    padding: 0 200px;
    width: 100%;
}

.research-cases .section-title::after {
    right: 150px;
}

.cases-tab-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 76%;
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-top: 30px;
}

.cases-container {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
    width: fit-content;
    min-width: 100%;
}


.cases-container .case-item-1 img {
    width: 140px;
    height: 210px;
    margin-top: 50px;
}

.cases-container .case-item-2 img {
    width: 90px;
    height: 134px;
}

.cases-container .case-item-3 img {
    width: 150px;
    height: 225px;
    margin-top: 50px;

}

.cases-container .case-item-4 img {
    width: 150px;
    height: 220px;
}

.case-item {
    width: auto;
    flex-shrink: 0;
    height: 100%;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}

/* 网上展厅 */
.online-exhibition {
    margin-bottom: 30px;
}

.exhibition-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.exhibition-item {
    min-width: 280px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.exhibition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.exhibition-image {
    height: 180px;
    overflow: hidden;
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exhibition-item:hover .exhibition-image img {
    transform: scale(1.05);
}

.exhibition-title {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    color: #333;
    background-color: #f9f9f9;
}

/* 下方信息页样式已移至common.css */